package com.ruoyi.system.api.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 支付宝跑批对象 t_cw_appli
 * 
 * @author ruoyi
 * @date 2023-03-14
 */
public class SysTCwAppli extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String code;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String msg;

    /** 购买商家账号 */
    @Excel(name = "购买商家账号")
    private String buyerLogonId;

    /** 购买商家id */
    @Excel(name = "购买商家id")
    private String buyerUserId;

    /** 购买商家类型 */
    @Excel(name = "购买商家类型")
    private String buyerUserType;

    /** 购买单号 */
    @Excel(name = "购买单号")
    private String outTradeNo;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendPayDate;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal totalAmount;

    /** 交易订单号 */
    @Excel(name = "交易订单号")
    private String tradeNo;

    /** 交易状态 */
    @Excel(name = "交易状态")
    private String tradeStatus;

    /** 支付宝签章 */
    @Excel(name = "支付宝签章")
    private String sign;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setBuyerLogonId(String buyerLogonId) 
    {
        this.buyerLogonId = buyerLogonId;
    }

    public String getBuyerLogonId() 
    {
        return buyerLogonId;
    }
    public void setBuyerUserId(String buyerUserId) 
    {
        this.buyerUserId = buyerUserId;
    }

    public String getBuyerUserId() 
    {
        return buyerUserId;
    }
    public void setBuyerUserType(String buyerUserType) 
    {
        this.buyerUserType = buyerUserType;
    }

    public String getBuyerUserType() 
    {
        return buyerUserType;
    }
    public void setOutTradeNo(String outTradeNo) 
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo() 
    {
        return outTradeNo;
    }
    public void setSendPayDate(Date sendPayDate) 
    {
        this.sendPayDate = sendPayDate;
    }

    public Date getSendPayDate() 
    {
        return sendPayDate;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setTradeNo(String tradeNo) 
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo() 
    {
        return tradeNo;
    }
    public void setTradeStatus(String tradeStatus) 
    {
        this.tradeStatus = tradeStatus;
    }

    public String getTradeStatus() 
    {
        return tradeStatus;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }

    @Override
    public String toString() {
        return "SysTCwAppli{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", buyerLogonId='" + buyerLogonId + '\'' +
                ", buyerUserId='" + buyerUserId + '\'' +
                ", buyerUserType='" + buyerUserType + '\'' +
                ", outTradeNo='" + outTradeNo + '\'' +
                ", sendPayDate=" + sendPayDate +
                ", totalAmount=" + totalAmount +
                ", tradeNo='" + tradeNo + '\'' +
                ", tradeStatus='" + tradeStatus + '\'' +
                ", sign='" + sign + '\'' +
                '}';
    }
}
